﻿/**************************************************************************
 * @file :   
 * @brief :  
 * @author :   C0946639 尹志刚
 * @version :  1.0.0.1
 * @date :	   2025/04/14
 * @Description: 
 ***************************************************************************/
#ifndef PASSWORDEDIT_H__
#define PASSWORDEDIT_H__

#include "../generalui_global.h"
#include "../GlobalUIDef.h"

#include <QLineEdit>
#include <QAction>

namespace GeneralUI {

	class GENERALUI_EXPORT PasswordEdit : public QLineEdit
	{
		Q_OBJECT

	public:
		explicit PasswordEdit(QWidget *parent = nullptr);
		~PasswordEdit();

	private:
		void init();

	private slots:

		void onInputVisible();

	private:
		QAction *m_pAction;
		bool m_bVisible;
	};
}

#endif
